namespace CRM.DataAccess.Entities
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("LOYALTY")]
    public partial class LOYALTY
    {
        public long ID { get; set; }

        [StringLength(50)]
        public string CODE { get; set; }

        [StringLength(500)]
        public string NAME { get; set; }

        [StringLength(1000)]
        public string DESCRIPTION { get; set; }

        public DateTime? DATE_CREATED { get; set; }

        public long? ASSIGN_TO_ID { get; set; }

        public double? POINTS_TO_AWARD { get; set; }

        [StringLength(250)]
        public string ASSIGN_TO_NAME { get; set; }

        public double? EXCHANGE_RATE { get; set; }

        public DateTime? DATE_MODIFIED { get; set; }
    }
}
